package chp06.homework;

public class Home3 {

    public static void main(String[] args) {
        for (int i = 1; i <= 100; i++){
            //优先处理特殊的情况
            if(i%3==0 && i%5==0){
                System.out.println("FlipFlop");
                //跳出本次循环，继续下次循环
                continue;
            }else if(i % 5 == 0){
                System.out.println("Flop");
                //跳出本次循环，继续下次循环
                continue;
            }else if(i%3==0){
                System.out.println("Flip");
                continue;
            }
            System.out.println(i);
        }
    }
}
